#include <stdio.h>
#include <string.h>

#include "dotrever.h"

void test(const char * str)
{
	char buff[strlen(str) + 1];
	strcpy(buff, str);

	dot_rever(buff, strlen(buff));

	printf ("\n %s --> %s \n", str, buff);
}


int main(int argc, char ** argv)
{
	printf(" this is dotrever \n");

	test("hello");
	test("news.sohu.com");

	return 0;
}


